package com.fastbee.common.core.mq;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author gsb
 * @date 2022/12/5 11:26
 */
@Data
public class InvokeReqSimpleDto {

    @ApiModelProperty(value = "设备编号")
    @NotBlank(message = "设备编号不能为空")
    private String serialNumber;

    @ApiModelProperty(value = "操作标识")
    @NotBlank(message = "操作标识不能为空")
    private String operateKey;

    @ApiModelProperty(value = "操作值")
    @NotBlank(message = "操作值不能为空")
    private String operateValue;

    @ApiModelProperty(value = "产品id")
    @NotNull(message = "产品id不能为空")
    private Long productId;
}
